use actix_web::{web::ServiceConfig, Scope};



mod user;
mod dev_type;
mod dev_file;


pub fn register(cfg: &mut ServiceConfig) {
    let scope = Scope::new("/api")
        .configure(user::register)
        .configure(dev_type::register)
        .configure(dev_file::register);
    cfg.service(scope);
}
